import java.util.ArrayList;
import java.util.List;

//数据记录类
public class Meiyou {

        private List<Integer> cycleLengths; // 记录每次周期的长度
        private List<String> symptoms; // 记录每次的症状

        public Meiyou() {
            cycleLengths = new ArrayList<>();
            symptoms = new ArrayList<>();
        }

        public void addCycle(int length, String symptom) {
            cycleLengths.add(length);
            symptoms.add(symptom);
        }

        public List<Integer> getCycleLengths() {
            return cycleLengths;
        }

        public List<String> getSymptoms() {
            return symptoms;
        }
    }

















}